const E = window.wangEditor
const editor = new E('#div1')
// 或者 const editor = new E( document.getElementById('div1') )

editor.config.uploadImgMaxSize = 10 * 1024 * 1024

// 配置 server 接口地址
editor.config.uploadImgServer = '/upload-img'

editor.create()







